package com.ccrfid.rmc6.ws.example;

import javax.xml.bind.annotation.*;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder = {"studentId", "name", "age", "classRoom"})
@XmlRootElement(name = "helloResponse")
public class ExampleResponse {
    @XmlElement(name = "studentId")
    private Integer studentId;
    @XmlElement(name = "name")
    private String name;
    @XmlElement(name = "age")
    private Integer age;
    @XmlElement(name = "class")
    private String classRoom;

    public ExampleResponse() {
    }

    public ExampleResponse(Integer studentId, String name, Integer age, String classRoom) {
        this.studentId = studentId;
        this.name = name;
        this.age = age;
        this.classRoom = classRoom;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getClassRoom() {
        return classRoom;
    }

    public void setClassRoom(String classRoom) {
        this.classRoom = classRoom;
    }
}
